package com.atguigu.gulimall.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName HuangXiangXiang
 * @Date 2021/2/6 11:50
 * @Version V1.0
 **/
@FeignClient("gulimall-member")
public interface MemberFeignService {


    /**
     * 收货地址详细信息
     * @param id
     * @return
     */
    @RequestMapping("/member/memberreceiveaddress/info/{id}")
    // @RequiresPermissions("member:memberreceiveaddress:info")
    public R addrInfo(@PathVariable("id") Long id) ;
}
